package cn.tedu.egmvc2.base.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration//标记为配置类
@MapperScan("cn.tedu.egmvc2.mapper")//扫描该包下所有的mapper接口，这样每个接口就不用写@mapper注解了
public class MybatisConfig {
}
